package com.cx.service;

import com.cx.dto.PageInfoResult;
import com.cx.pojo.Goods;

import java.math.BigDecimal;
import java.util.List;

public interface GoodListService {

    List<Goods> selectAll();

    List<Goods> selectByGoodName(String goodName);

    PageInfoResult<Goods> selectAllByPage(PageInfoResult pageParameter);
    PageInfoResult<Goods> selectByGoodNameAndPage(PageInfoResult pageParameter,String goodName);
    PageInfoResult<Goods> selectBySelectiveAndPage(PageInfoResult pageParameter, String goodName,Integer type, Integer types, BigDecimal lowPrice, BigDecimal upPrice);

}
